#pragma once
#include "Modeleditor.h"
#include <TColgp_HArray1OfPnt.hxx>
#include <list>

class GEOMDBAPI CModelEditorEx :
	public CModelEditor
{
public:
	CModelEditorEx(void);
	virtual ~CModelEditorEx(void);

	virtual void Initialize(CAnyView* pView);

	virtual EditorState OnLButtonDown(UINT nFlags, long x, long y);
	virtual void		OnMouseMove(UINT nFlags, long x, long y);
	virtual EditorState OnRButtonDown(UINT nFlags, long x, long y);

protected:
	Handle(TColgp_HArray1OfPnt) GetPointArrary(void);
protected:
	typedef std::list<gp_Pnt> PointList;
	PointList m_ptList;
};
